package exercises.Charpter7;

//: reusing/Cartoon.java
// Constructor calls during inheritance.
import static net.mindview.util.Print.*;

class Art {
  Art() { print("Art constructor"); }
}

class Drawing extends Art {
  //Drawing() { print("Drawing constructor"); }
}

public class Three extends Drawing {
  public Three() { print("Cartoon constructor"); }
  @SuppressWarnings("unused")
public static void main(String[] args) {
    Three x = new Three();
  }
} /* Output:
Art constructor
Cartoon constructor
*///:~
